package com.example.trabajofinal.model;

public class User {
	private String userName;
	private String name;
	private String pwd;
	
	public String getUserName(){
		return userName;
	}
	
	public String getName(){
		return name;
	}
	
	public User(String user, String name, String pwd){
		this.userName = user;
		this.name = name;
		this.pwd = pwd;
	}
	
	
	public boolean validatePwd(String pwd){
		if(pwd == null || this.pwd == null)
			return false;
		
		return this.pwd.equals(pwd);
	}
}
